/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package es.us.lsi.mwm;

import java.util.Objects;

/**
 *
 * @author JuanMan
 */
public class classA {

    @Override
    public int hashCode() {
        int hash = 7;
        return hash;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final classA other = (classA) obj;
        if (!Objects.equals(this.cad, other.cad)) {
            return false;
        }
        if (this.valor != other.valor) {
            return false;
        }
        return true;
    }
    
    String cad;
    int valor;
    
    public classA() {
        super();
    }

    public void setCad(String cad) {
        this.cad = cad;
    }

    public String getCad() {
        return cad;
    }

    public void setValor(int valor) {
        this.valor = valor;
    }

    public int getValor() {
        return valor;
    }

    @Override
    public String toString() {
        return "classA{" + "cad=" + cad + ", valor=" + valor + '}';
    }
 
    
}
